package tp.badugi.client.guiViews;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.border.EmptyBorder;

public class WinnerCardButton extends JButton{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6813847069883278351L;

	public WinnerCardButton(int width, int height) {
		this.setEnabled(false);
		this.setBackground(Color.WHITE);
		this.setPreferredSize(new Dimension(width, height));
		this.setBorder(BorderFactory.createCompoundBorder(
						BorderFactory.createMatteBorder(0,0, 0, 1, Color.BLACK),
						new EmptyBorder(20, 0, 20, 0)));
	}
}
